# -*- coding:utf-8 -*-
# @Time: 2020/8/14 12:00
# @Author: liupengfei
# @File: urls.py

from django.urls import path
from rest_framework.routers import SimpleRouter
from .views import CategoryViewSet, LabelViewSet

app_name = 'category'
urlpatterns = [

]
router = SimpleRouter()
router.register('label', LabelViewSet)  #标签
router.register('', CategoryViewSet)   #分类

urlpatterns += router.urls
